import React, { Component } from 'react'
import { LISTITEM } from "../type/store.d"
interface MYPROPS{
    list:LISTITEM
}
function item(props:MYPROPS) {
    const { list } = props
    console.log(props, '111')

    return (
        <div>
            <img src={list.img} alt="" />
            <h4>{list.title}</h4>
      </div>
    )

}

export default item